package netWork;

import bean.FileUploadEntity;
import bean.ResponseEntity;
import io.reactivex.Observable;
import okhttp3.MultipartBody;
import retrofit2.Call;
import retrofit2.adapter.rxjava2.Result;
import retrofit2.http.*;

import java.util.List;
import java.util.Map;

/**
 * Created by xulei on 2018/3/29.
 */

public interface RetrofitUploadService {
    /**
     * 上传图片
     */
    @Multipart
    @POST
    Call<ResponseEntity<FileUploadEntity>> uploadMemberIcon(@Url String url, @Part MultipartBody.Part file);
}
